<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="demo_page1.html"
		method="post">
		<div class="searchBar">
			<div class="subBar">
				<ul>
					<li><select class="combox" name="province">
							<option value="">请选择查询条件</option>
							<option value="录入人">录入人</option>
							<option value="供应商名称">供应商名称</option>
					</select></li>
					<li><input type="text" /></li>
					<li><div class="buttonActive">
							<div class="buttonContent">
								<button type="submit">检索</button>
							</div>
						</div></li>
					<li><a class="button"
						href="wqq/basicsinfo/materiel/search.jsp" target="dialog"
						mask="true" title="高级检索"><span>高级检索</span></a></li>
				</ul>
			</div>
		</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="wqq/basicsinfo/materiel/addMateriel.jsp" target="dialog"
				rel="adduser"><span>添加</span></a></li>
			<li><a title="确实要删除这些记录吗?" target="selectedTodo" rel="ids"
				postType="string"
				href="${pageContext.request.contextPath }/deleteUser.action"
				class="delete"><span>批量删除</span></a></li>
			<li><a class="edit"
				href="<c:url value='../update.action?id={sid_user}'/>"
				target="dialog"><span>编辑</span></a></li>
			<li class="line">line</li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr align="center">
				<th width="22"><input type="checkbox" group="ids"
					class="checkboxCtrl"></th>
				<th>序号</th>
				<th>物料编号</th>
				<th>产品名称</th>
				<th>规格型号</th>
				<th>颜色</th>
				<th>物料分类</th>
				<th>厂家</th>
				<th>供应商编号</th>
				<th>采购价</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${list}" var="user" varStatus="m">
				<tr target="sid_user" rel="${user.id}">
					<td><input name="ids" value="${user.id}" type="checkbox"></td>
					<td>${m.count}</td>
					<td>${user.name}</td>
					<td>男</td>
					<td>29385739203816293</td>
					<td>${user.timeOut}</td>
					<td>陕西省铜川市耀州区</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span> <select class="combox" name="numPerPage"
				onchange="dwzPageBreak({targetType:'${targetType}',data:{numPerPage:this.value}})">
				<c:forEach begin="5" end="20" step="5" varStatus="s">
					<option value="${s.index}"
						${pagination.numPerPage eq s.index ? 'selected="selected"' : ''}>${s.index}</option>
				</c:forEach>
			</select> <span>条，共${pagination.totalCount}条</span>
		</div>

		<div class="pagination" targetType="${targetType}"
			totalCount="${pagination.totalCount}"
			numPerPage="${pagination.numPerPage}" pageNumShown="5"
			currentPage="${pagination.pageNum}"></div>
	</div>
</div>
